﻿@model MvcModels.Models.Person
@{
    ViewBag.Title = "Index";
}

<p>
    The Order in Which the DefaultModelBinder Class Looks for Parameter Data
    1. Request.Form["id"]
    2. RouteData.Values["id"]
    3. Request.QueryString["id"]
    4. Request.Files["id"]
</p>




<h2>Person</h2>
<div>
    <label>ID:</label>@Html.DisplayFor(m => m.PersonId)
</div>
<div>
    <label>First Name:</label>@Html.DisplayFor(m => m.FirstName)
</div>
<div>
    <label>Last Name:</label>@Html.DisplayFor(m => m.LastName)
</div>
<div>
    <label>Role:</label>@Html.DisplayFor(m => m.Role)
</div>
<div>
    <label>City:</label>@Html.DisplayFor(m => m.HomeAddress.City)</div>
<div>
    <label>Country:</label>@Html.DisplayFor(m => m.HomeAddress.Country)</div>
